package my.chain;

public class People {

	
	
	private String name;

	private int type;// 1.科级干部,2.值班组长,3.带班领导

	private int companyId;

	private int workCount = 0;// 每次排到这个人+1

	private int workInHolidayCount;// 在节假日或者是周末被排到+1

	
	
	public People() {
	}

	public People(String name, int type, int companyId) {
		this.name = name;
		this.type = type;
		this.companyId = companyId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getCompanyId() {
		return companyId;
	}

	public void setCompanyId(int companyId) {
		this.companyId = companyId;
	}

	public int getWorkCount() {
		return workCount;
	}

	public void setWorkCount(int workCount) {
		this.workCount = workCount;
	}

	public int getWorkInHolidayCount() {
		return workInHolidayCount;
	}

	public void setWorkInHolidayCount(int workInHolidayCount) {
		this.workInHolidayCount = workInHolidayCount;
	}

	@Override
	public String toString() {
		return "People [name=" + name + "]";
	}

}
